.class Lcom/example/m6shop/CxListActivity$3;
.super Landroid/os/Handler;
.source "CxListActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6shop/CxListActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6shop/CxListActivity;


# direct methods
.method constructor <init>(Lcom/example/m6shop/CxListActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6shop/CxListActivity$3;->this$0:Lcom/example/m6shop/CxListActivity;

    .line 138
    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method

.method static synthetic access$0(Lcom/example/m6shop/CxListActivity$3;)Lcom/example/m6shop/CxListActivity;
    .locals 1

    .prologue
    .line 138
    iget-object v0, p0, Lcom/example/m6shop/CxListActivity$3;->this$0:Lcom/example/m6shop/CxListActivity;

    return-object v0
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 10
    .param p1, "msg"    # Landroid/os/Message;

    .prologue
    const/4 v9, 0x1

    .line 140
    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    .line 141
    iget v5, p1, Landroid/os/Message;->arg1:I

    sparse-switch v5, :sswitch_data_0

    .line 242
    :goto_0
    :sswitch_0
    return-void

    .line 145
    :sswitch_1
    iget-object v5, p0, Lcom/example/m6shop/CxListActivity$3;->this$0:Lcom/example/m6shop/CxListActivity;

    # getter for: Lcom/example/m6shop/CxListActivity;->mcontext:Landroid/content/Context;
    invoke-static {v5}, Lcom/example/m6shop/CxListActivity;->access$0(Lcom/example/m6shop/CxListActivity;)Landroid/content/Context;

    move-result-object v5

    const-string v6, "\u767b\u9646\u8fd4\u56de\u4fe1\u606f"

    const-string v7, "\u767b\u9646\u6210\u529f"

    invoke-static {v5, v6, v7}, Lmyclass/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 149
    :sswitch_2
    iget-object v5, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v5}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    .line 150
    .local v1, "checkinfo":Ljava/lang/String;
    const-string v5, "nologin"

    invoke-virtual {v1, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_0

    .line 152
    new-instance v4, Landroid/content/Intent;

    invoke-direct {v4}, Landroid/content/Intent;-><init>()V

    .line 153
    .local v4, "intent":Landroid/content/Intent;
    iget-object v5, p0, Lcom/example/m6shop/CxListActivity$3;->this$0:Lcom/example/m6shop/CxListActivity;

    .line 154
    const-class v6, Lcom/example/m6shop/LoginActivity;

    .line 153
    invoke-virtual {v4, v5, v6}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 155
    iget-object v5, p0, Lcom/example/m6shop/CxListActivity$3;->this$0:Lcom/example/m6shop/CxListActivity;

    invoke-virtual {v5, v4}, Lcom/example/m6shop/CxListActivity;->startActivity(Landroid/content/Intent;)V

    goto :goto_0

    .line 160
    .end local v4    # "intent":Landroid/content/Intent;
    :cond_0
    iget-object v5, p0, Lcom/example/m6shop/CxListActivity$3;->this$0:Lcom/example/m6shop/CxListActivity;

    # getter for: Lcom/example/m6shop/CxListActivity;->mcontext:Landroid/content/Context;
    invoke-static {v5}, Lcom/example/m6shop/CxListActivity;->access$0(Lcom/example/m6shop/CxListActivity;)Landroid/content/Context;

    move-result-object v5

    const-string v6, "\u63d0\u793a\u4fe1\u606f"

    iget-object v7, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v7}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v7

    invoke-static {v5, v6, v7}, Lmyclass/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 165
    .end local v1    # "checkinfo":Ljava/lang/String;
    :sswitch_3
    iget-object v5, p0, Lcom/example/m6shop/CxListActivity$3;->this$0:Lcom/example/m6shop/CxListActivity;

    # getter for: Lcom/example/m6shop/CxListActivity;->mcontext:Landroid/content/Context;
    invoke-static {v5}, Lcom/example/m6shop/CxListActivity;->access$0(Lcom/example/m6shop/CxListActivity;)Landroid/content/Context;

    move-result-object v5

    const-string v6, "\u6570\u636e\u83b7\u53d6\u5931\u8d25"

    const-string v7, "\u5c06\u68c0\u67e5\u7f51\u7edc\u8fde\u63a5\u6216\u8005\u8054\u7cfb\u5ba2\u670d"

    invoke-static {v5, v6, v7}, Lmyclass/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 169
    :sswitch_4
    sget-object v5, Ljava/lang/System;->out:Ljava/io/PrintStream;

    const-string v6, "\u5904\u7406\u6570\u636e:\u8f6c\u6362\u6570\u636e\u5185\u5bb9"

    invoke-virtual {v5, v6}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V

    .line 170
    # getter for: Lcom/example/m6shop/CxListActivity;->page:I
    invoke-static {}, Lcom/example/m6shop/CxListActivity;->access$1()I

    move-result v5

    if-ne v5, v9, :cond_1

    .line 171
    iget-object v5, p0, Lcom/example/m6shop/CxListActivity$3;->this$0:Lcom/example/m6shop/CxListActivity;

    iget-object v5, v5, Lcom/example/m6shop/CxListActivity;->orderls:Ljava/util/List;

    invoke-interface {v5}, Ljava/util/List;->clear()V

    .line 173
    :cond_1
    const/4 v2, 0x0

    .local v2, "i":I
    :goto_1
    iget-object v5, p0, Lcom/example/m6shop/CxListActivity$3;->this$0:Lcom/example/m6shop/CxListActivity;

    iget-object v5, v5, Lcom/example/m6shop/CxListActivity;->list:Ljava/util/List;

    invoke-interface {v5}, Ljava/util/List;->size()I

    move-result v5

    if-lt v2, v5, :cond_3

    .line 177
    # getter for: Lcom/example/m6shop/CxListActivity;->page:I
    invoke-static {}, Lcom/example/m6shop/CxListActivity;->access$1()I

    move-result v5

    if-ne v5, v9, :cond_4

    .line 178
    iget-object v5, p0, Lcom/example/m6shop/CxListActivity$3;->this$0:Lcom/example/m6shop/CxListActivity;

    new-instance v6, Ladapter/NotesAdapter;

    iget-object v7, p0, Lcom/example/m6shop/CxListActivity$3;->this$0:Lcom/example/m6shop/CxListActivity;

    iget-object v8, p0, Lcom/example/m6shop/CxListActivity$3;->this$0:Lcom/example/m6shop/CxListActivity;

    iget-object v8, v8, Lcom/example/m6shop/CxListActivity;->orderls:Ljava/util/List;

    invoke-direct {v6, v7, v8}, Ladapter/NotesAdapter;-><init>(Landroid/content/Context;Ljava/util/List;)V

    iput-object v6, v5, Lcom/example/m6shop/CxListActivity;->adapter:Ladapter/NotesAdapter;

    .line 179
    iget-object v5, p0, Lcom/example/m6shop/CxListActivity$3;->this$0:Lcom/example/m6shop/CxListActivity;

    # getter for: Lcom/example/m6shop/CxListActivity;->mListView:Lorg/com/cctest/view/XListView;
    invoke-static {v5}, Lcom/example/m6shop/CxListActivity;->access$2(Lcom/example/m6shop/CxListActivity;)Lorg/com/cctest/view/XListView;

    move-result-object v5

    iget-object v6, p0, Lcom/example/m6shop/CxListActivity$3;->this$0:Lcom/example/m6shop/CxListActivity;

    iget-object v6, v6, Lcom/example/m6shop/CxListActivity;->adapter:Ladapter/NotesAdapter;

    invoke-virtual {v5, v6}, Lorg/com/cctest/view/XListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 180
    iget-object v5, p0, Lcom/example/m6shop/CxListActivity$3;->this$0:Lcom/example/m6shop/CxListActivity;

    # getter for: Lcom/example/m6shop/CxListActivity;->mListView:Lorg/com/cctest/view/XListView;
    invoke-static {v5}, Lcom/example/m6shop/CxListActivity;->access$2(Lcom/example/m6shop/CxListActivity;)Lorg/com/cctest/view/XListView;

    move-result-object v5

    invoke-virtual {v5, v9}, Lorg/com/cctest/view/XListView;->setPullLoadEnable(Z)V

    .line 184
    :goto_2
    iget-object v5, p0, Lcom/example/m6shop/CxListActivity$3;->this$0:Lcom/example/m6shop/CxListActivity;

    iget-object v5, v5, Lcom/example/m6shop/CxListActivity;->orderls:Ljava/util/List;

    invoke-interface {v5}, Ljava/util/List;->size()I

    move-result v5

    if-nez v5, :cond_2

    .line 185
    iget-object v5, p0, Lcom/example/m6shop/CxListActivity$3;->this$0:Lcom/example/m6shop/CxListActivity;

    # getter for: Lcom/example/m6shop/CxListActivity;->mListView:Lorg/com/cctest/view/XListView;
    invoke-static {v5}, Lcom/example/m6shop/CxListActivity;->access$2(Lcom/example/m6shop/CxListActivity;)Lorg/com/cctest/view/XListView;

    move-result-object v5

    invoke-virtual {v5}, Lorg/com/cctest/view/XListView;->setno()V

    .line 189
    :cond_2
    iget-object v5, p0, Lcom/example/m6shop/CxListActivity$3;->this$0:Lcom/example/m6shop/CxListActivity;

    # getter for: Lcom/example/m6shop/CxListActivity;->mListView:Lorg/com/cctest/view/XListView;
    invoke-static {v5}, Lcom/example/m6shop/CxListActivity;->access$2(Lcom/example/m6shop/CxListActivity;)Lorg/com/cctest/view/XListView;

    move-result-object v5

    new-instance v6, Lcom/example/m6shop/CxListActivity$3$1;

    invoke-direct {v6, p0}, Lcom/example/m6shop/CxListActivity$3$1;-><init>(Lcom/example/m6shop/CxListActivity$3;)V

    invoke-virtual {v5, v6}, Lorg/com/cctest/view/XListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    goto/16 :goto_0

    .line 174
    :cond_3
    iget-object v5, p0, Lcom/example/m6shop/CxListActivity$3;->this$0:Lcom/example/m6shop/CxListActivity;

    iget-object v5, v5, Lcom/example/m6shop/CxListActivity;->list:Ljava/util/List;

    invoke-interface {v5, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/Map;

    .line 175
    .local v0, "cc":Ljava/util/Map;, "Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    iget-object v5, p0, Lcom/example/m6shop/CxListActivity$3;->this$0:Lcom/example/m6shop/CxListActivity;

    iget-object v5, v5, Lcom/example/m6shop/CxListActivity;->orderls:Ljava/util/List;

    invoke-interface {v5, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 173
    add-int/lit8 v2, v2, 0x1

    goto :goto_1

    .line 182
    .end local v0    # "cc":Ljava/util/Map;, "Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    :cond_4
    iget-object v5, p0, Lcom/example/m6shop/CxListActivity$3;->this$0:Lcom/example/m6shop/CxListActivity;

    iget-object v5, v5, Lcom/example/m6shop/CxListActivity;->adapter:Ladapter/NotesAdapter;

    invoke-virtual {v5}, Ladapter/NotesAdapter;->notifyDataSetChanged()V

    goto :goto_2

    .line 200
    .end local v2    # "i":I
    :sswitch_5
    iget-object v5, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-static {v5}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    .line 201
    .local v3, "idd":Ljava/lang/String;
    new-instance v4, Landroid/content/Intent;

    invoke-direct {v4}, Landroid/content/Intent;-><init>()V

    .line 202
    .restart local v4    # "intent":Landroid/content/Intent;
    const-string v5, "id"

    invoke-virtual {v4, v5, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 203
    iget-object v5, p0, Lcom/example/m6shop/CxListActivity$3;->this$0:Lcom/example/m6shop/CxListActivity;

    const-class v6, Lcom/example/m6shop/EditSalesActivity;

    invoke-virtual {v4, v5, v6}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 204
    iget-object v5, p0, Lcom/example/m6shop/CxListActivity$3;->this$0:Lcom/example/m6shop/CxListActivity;

    invoke-virtual {v5, v4}, Lcom/example/m6shop/CxListActivity;->startActivity(Landroid/content/Intent;)V

    goto/16 :goto_0

    .line 208
    .end local v3    # "idd":Ljava/lang/String;
    .end local v4    # "intent":Landroid/content/Intent;
    :sswitch_6
    iget-object v5, p0, Lcom/example/m6shop/CxListActivity$3;->this$0:Lcom/example/m6shop/CxListActivity;

    iget-object v6, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-static {v6}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v6

    iput-object v6, v5, Lcom/example/m6shop/CxListActivity;->id:Ljava/lang/String;

    .line 209
    new-instance v5, Landroid/app/AlertDialog$Builder;

    iget-object v6, p0, Lcom/example/m6shop/CxListActivity$3;->this$0:Lcom/example/m6shop/CxListActivity;

    # getter for: Lcom/example/m6shop/CxListActivity;->mcontext:Landroid/content/Context;
    invoke-static {v6}, Lcom/example/m6shop/CxListActivity;->access$0(Lcom/example/m6shop/CxListActivity;)Landroid/content/Context;

    move-result-object v6

    invoke-direct {v5, v6}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    .line 210
    const-string v6, "\u63d0\u793a\u5220\u9664"

    invoke-virtual {v5, v6}, Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v5

    .line 211
    const-string v6, "\u786e\u8ba4\u5220\u9664\u5206\u7c7b"

    invoke-virtual {v5, v6}, Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v5

    .line 212
    const-string v6, "\u786e\u5b9a"

    new-instance v7, Lcom/example/m6shop/CxListActivity$3$2;

    invoke-direct {v7, p0}, Lcom/example/m6shop/CxListActivity$3$2;-><init>(Lcom/example/m6shop/CxListActivity$3;)V

    invoke-virtual {v5, v6, v7}, Landroid/app/AlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v5

    .line 223
    const-string v6, "\u53d6\u6d88"

    new-instance v7, Lcom/example/m6shop/CxListActivity$3$3;

    invoke-direct {v7, p0}, Lcom/example/m6shop/CxListActivity$3$3;-><init>(Lcom/example/m6shop/CxListActivity$3;)V

    invoke-virtual {v5, v6, v7}, Landroid/app/AlertDialog$Builder;->setNegativeButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v5

    .line 231
    invoke-virtual {v5}, Landroid/app/AlertDialog$Builder;->show()Landroid/app/AlertDialog;

    goto/16 :goto_0

    .line 235
    :sswitch_7
    iget-object v5, p0, Lcom/example/m6shop/CxListActivity$3;->this$0:Lcom/example/m6shop/CxListActivity;

    const-string v6, "\u5220\u9664\u6210\u529f"

    const/16 v7, 0xbb8

    invoke-static {v5, v6, v7}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v5

    invoke-virtual {v5}, Landroid/widget/Toast;->show()V

    .line 236
    iget-object v5, p0, Lcom/example/m6shop/CxListActivity$3;->this$0:Lcom/example/m6shop/CxListActivity;

    invoke-virtual {v5}, Lcom/example/m6shop/CxListActivity;->getSource()Z

    goto/16 :goto_0

    .line 141
    nop

    :sswitch_data_0
    .sparse-switch
        0x0 -> :sswitch_0
        0x1 -> :sswitch_2
        0x2 -> :sswitch_1
        0x3 -> :sswitch_4
        0x4 -> :sswitch_3
        0xc -> :sswitch_5
        0x14 -> :sswitch_6
        0x15 -> :sswitch_7
    .end sparse-switch
.end method
